import { flatObj } from "@/utils/util"

import { agent } from "./context/agent"
import { common } from "./context/common"
import { dashboard } from "./context/dashboard"
import { dict } from "./context/dict"
import { dxn } from "./context/dxn"
import { funds } from "./context/funds"
import { label } from "./context/label"
import { member } from "./context/member"
import { merchant } from "./context/merchant"
import merchantList from "./context/merchantList"
import { message } from "./context/message"
import { nouns } from "./context/nouns"
import operation from "./context/operation"
import { report } from "./context/report"
import { response } from "./context/response"
import { risk } from "./context/risk"
import { routers } from "./context/routers"
import { system } from "./context/system"
import { table } from "./context/table"
import { tips } from "./context/tips"
import { titles } from "./context/titles"

const en_US: Record<string, string> = {}
const quickFlat = (obj: Record<string, any>) => flatObj(obj, "", en_US)
quickFlat(agent)
quickFlat(common)
quickFlat(dashboard)
quickFlat(dict)
quickFlat(dxn)
quickFlat(funds)
quickFlat(label)
quickFlat(member)
quickFlat(merchant)
quickFlat(merchantList)
quickFlat(message)
quickFlat(nouns)
quickFlat(operation)
quickFlat(report)
quickFlat(response)
quickFlat(risk)
quickFlat(routers)
quickFlat(system)
quickFlat(table)
quickFlat(tips)
quickFlat(titles)
export default en_US
